package com.itheima.widget;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		Log.i("wzx","MainActivity getTaskId"+ getTaskId());

	}

	public void start(View view) {

		new Thread() {
			public void run() {
				startActivity(new Intent(getBaseContext(), TestActivity.class));
			};
		}.start();
	}

}
